<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>

<!DOCTYPE html>
<html>
<head>
<title>编辑plan</title>
<meta name="decorator" content="default" />
<script type="text/javascript">
	$(function() {
		//初始化表单验证
		$("#inputForm").initValidform();
	});
</script>
</head>

<body class="mainbody">
	<form:form id="inputForm" modelAttribute="plan"
		action="${ctx}/bt/plan/save" method="post" class="form-horizontal">
		<form:hidden path="id" />
		<input type="hidden" name="projectid" value="${projectid }">
		<!--导航栏-->
		<div class="location">
			<a href="${ctx}/bt/plan/list" class="back"><i></i><span>返回列表页</span></a>
			<a href="${ctx}/center" class="home"><i></i><span>首页</span></a> <i
				class="arrow"></i> <a href="${ctx}/bt/plan/form?id=${plan.id}"><span>plan</span></a>
			<i class="arrow"></i> <span>${not empty plan.id ? '修改':'添加' }plan</span>
		</div>
		<div class="line10"></div>
		<!--/导航栏-->

		<!--内容-->
		<div id="floatHead" class="content-tab-wrap">
			<div class="content-tab">
				<div class="content-tab-ul-wrap">
					<ul>
						<li><a class="selected" href="javascript:;">plan信息</a></li>
					</ul>
				</div>
			</div>
		</div>

		<div class="tab-content">
			<dl>
				<dt>计划名称</dt>
				<dd>
					<form:input path="planName" htmlEscape="false" maxlength="20"
						class="required" cssClass="input normal" datatype="*"
						nullmsg="请输入" errormsg="请输入" sucmsg=" " />
					<span class="Validform_checktip">*请输入</span>
				</dd>
			</dl>
			<dl>
				<dt>计划数量</dt>
				<dd>
					<form:input path="counts" htmlEscape="false" maxlength="8"
						class="required" cssClass="input normal" datatype="*"
						nullmsg="请输入" errormsg="请输入" sucmsg=" " />
					<span class="Validform_checktip">*请输入</span>
				</dd>
			</dl>
			<dl>
				<dt>输出方式</dt>
				<dd>
					<form:radiobutton path="outWay" value="PNG图片压缩包" />
					<form:label path="">PNG图片压缩包</form:label>
					<form:radiobutton path="outWay" value="EPS图片压缩包" />
					<form:label path="">EPS图片压缩包</form:label>
					<form:radiobutton path="outWay" value="CVS地址列表" />
					<form:label path="">CVS地址列表</form:label>
					<form:radiobutton path="outWay" value="API接口" />
					<form:label path="">API接口</form:label>
				</dd>
			</dl>
			<dl>
				<dt>logo水印</dt>
				<dd>
					<form:radiobutton path="logoPrint" value="1" />
					<form:label path="">是</form:label>
					<form:radiobutton path="logoPrint" value="0" />
					<form:label path="">否</form:label>
				</dd>
			</dl>
			<dl>
				<dt>负责人姓名</dt>
				<dd>
					<form:input path="inchargeName" htmlEscape="false" maxlength="20"
						class="required" cssClass="input normal" nullmsg="请输入"
						datatype="*" errormsg="请输入" sucmsg=" " />
					<span class="Validform_checktip">*请输入</span>
				</dd>
			</dl>
			<dl>
				<dt>联系人手机</dt>
				<dd>
					<form:input path="inchargeMobie" htmlEscape="false" maxlength="20"
						class="required" cssClass="input normal" nullmsg="请输入"
						datatype="*" errormsg="请输入" sucmsg=" " />
					<span class="Validform_checktip">*请输入</span>
				</dd>
			</dl>
			<dl>
				<dt>联系人邮件</dt>
				<dd>
					<form:input path="inchargeEmail" htmlEscape="false" maxlength="20"
						class="required" cssClass="input normal" nullmsg="请输入"
						datatype="*" errormsg="请输入" sucmsg=" " />
					<span class="Validform_checktip">*请输入</span>
				</dd>
			</dl>
			<dl>
				<dt>联系人QQ</dt>
				<dd>
					<form:input path="inchargeQq" htmlEscape="false" maxlength="20"
						class="required" cssClass="input normal" nullmsg="请输入"
						datatype="*" errormsg="请输入" sucmsg=" " />
					<span class="Validform_checktip">*请输入</span>
				</dd>
			</dl>
		</div>
		<!--/内容-->

		<!--工具栏-->
		<div class="page-footer">
			<div class="btn-wrap">
				<input type="submit" name="btnSubmit" value="提交保存" id="btnSubmit"
					class="btn" /> <input name="btnReturn" type="button" value="返回上一页"
					class="btn yellow" onclick="javascript:history.back(-1);" />
			</div>
		</div>
		<!--/工具栏-->
	</form:form>
</body>
</html>

